Real-Time Stock Insight & Prediction Platform-FinanceLake - #92
Open
larbi-asmaoui wants to merge 44 commits into
Open
Real-Time Stock Insight & Prediction Platform-FinanceLake#92larbi-asmaoui wants to merge 44 commits into
larbi-asmaoui wants to merge 44 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
⚡ Real-Time Stock Insight & Prediction Platform- finance-lake
A scalable, end-to-end data engineering and machine learning platform that ingests real-time stock market data, processes it using Spark Structured Streaming & Delta Lake, and generates AI-driven price predictions using Spark MLlib (Random Forest). Results are visualized in a live Streamlit dashboard.
� Contributors
Developed by:
🖼️ Dashboard Preview
(Main dashboard view showing real-time price and signals)
🎥 Demo Video
🚀 Features
🛠️ Tech Stack
🏗️ Architecture Overview
The pipeline follows a modern "Medallion" Lakehouse architecture:
kafka_producerfetches ticks and publishes tostock_pricestopic.s3a://finance-lake/lake/bronze).s3a://finance-lake/lake/silver).s3a://finance-lake/lake/gold).src/ml/train_rf.py).predictionstable (src/ml/stock_inference.py).⚙️ Setup & Installation
Prerequisites
gitinstalled.Configure Environment
The project comes with reasonable defaults.
Start the Platform
Run the entire stack in detached mode:
Note: The first run may take a few minutes to build the Spark and Scraper images.
🖥️ Usage
Accessing Services
http://localhost:8501http://localhost:9001minioadmin)localhost:8081Triggering ML Training
To retrain the Random Forest model on the latest data:
Running Inference
To run the inference job manually:
Checking Logs
To monitor the streaming process:
📂 Project Structure
📸 Additional Screenshots
MinIO Data Lake Buckets
(Bronze, Silver, and Gold data layers in MinIO)